package com.seed.core.pojo;

import com.mybatisflex.core.paginate.Page;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class StatPage<T> implements Serializable {
    private Page<T> page;
    private Map<String, Object> stats;

    public StatPage(Page<T> page) {
        this.page = page;
    }

    public StatPage(Page<T> page, Map<String, Object> stats) {
        this.page = page;
        this.stats = stats;
    }

    public Page<T> getPage() {
        return page;
    }

    public void setPage(Page<T> page) {
        this.page = page;
    }

    public Map<String, Object> getStats() {
        return stats;
    }

    public void setStats(Map<String, Object> stats) {
        this.stats = stats;
    }
}
